{% extends "admin/layout.html" %}

{% block content %}
<div class="row">
    <div class="col-md-6">
        <div class="card">
            <div class="card-header">
                <h3 class="card-title">绑定企业微信账号</h3>
            </div>
            <div class="card-body">
                <form method="POST">
                    <div class="form-group">
                        <label for="wecom_userid">企业微信用户ID</label>
                        <input type="text" class="form-control" id="wecom_userid" name="wecom_userid" required>
                        <small class="form-text text-muted">请输入您的企业微信用户ID</small>
                    </div>
                    <button type="submit" class="btn btn-primary">绑定</button>
                    <a href="{{ url_for('admin.dashboard') }}" class="btn btn-default">取消</a>
                </form>
            </div>
        </div>
    </div>
    <div class="col-md-6">
        <div class="card">
            <div class="card-header">
                <h3 class="card-title">帮助</h3>
            </div>
            <div class="card-body">
                <p>要获取您的企业微信用户ID，请按照以下步骤操作：</p>
                <ol>
                    <li>打开企业微信手机客户端</li>
                    <li>点击右下角的"我"</li>
                    <li>您的用户ID显示在头像下方</li>
                </ol>
                <p>或者联系管理员获取您的用户ID。</p>
            </div>
        </div>
    </div>
</div>
{% endblock %}